moved code to a new server

moved code to a new server

am 25.10.2008 00:18:54 von Marc Fromm

--_000_B0D7C0A3F35FE144A70312D086CBCA9B020C4D6078ExchMailbox 2u_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

We moved our website to a new linux server. The code was running on a diffe=
rent linux server. Thus the OS environment is the same.
We are receiving this error:
[Fri Oct 24 14:53:37 2008] PHP Fatal error: require() [ ..require'>function.require]: Failed opening required 'this was a url to=
a .js file' (include_path=3D'.:/usr/share/pear:/usr/share/php') in /var/ww=
w/html/path to .php file on line 4

I'm not a php programmer thus I am in the dark.

Marc


--_000_B0D7C0A3F35FE144A70312D086CBCA9B020C4D6078ExchMailbox 2u_--

Re: moved code to a new server

am 25.10.2008 00:24:51 von daniel.brown

Forwarded to General, since this doesn't belong on DB.

On Fri, Oct 24, 2008 at 6:18 PM, Marc Fromm wrote:
> We moved our website to a new linux server. The code was running on a different linux server. Thus the OS environment is the same.
> We are receiving this error:
> [Fri Oct 24 14:53:37 2008] PHP Fatal error: require() []: Failed opening required 'this was a url to a .js file' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/path to .php file on line 4
>
> I'm not a php programmer thus I am in the dark.

You don't have to be, you just have to read the error message. If
you copied that verbatim, then 'this was a url to a .js file' exists
on line 4 of .php in /var/www/html/path, and PHP failed to open it.

Make sure the file exists exactly where PHP is looking for it, and
that it's accessible and readable to and by the user as which the
server is running when executing `.php` in /var/www/html/path, and
that the target file can be found from that directory.

--

http://www.parasane.net/ [New Look]
daniel.brown@parasane.net || danbrown@php.net

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php